package cn.pku.edu.cs.ldn.util;

import java.util.Random;

public class TestUtil {
	public static String[] imageUrls = new String[] {
			"http://www.facejoking.com/pic/1022147.jpg",
			"http://www.facejoking.com/pic/1080347.jpg",
			"http://www.facejoking.com/pic/111629.jpg",
			"http://www.facejoking.com/pic/111629.jpg",
			"http://www.facejoking.com/pic/1021849.jpg",
			"http://www.facejoking.com/pic/1097402.jpg",
			"http://www.facejoking.com/pic/1085052.jpg",
			"http://www.facejoking.com/pic/424890.jpg",
			"http://www.facejoking.com/pic/983922.jpg",
			"http://www.facejoking.com/pic/492219.jpg",
			"http://www.facejoking.com/pic/1020209.jpg",
			"http://www.facejoking.com/pic/1042122.jpg",
			"http://www.facejoking.com/pic/1106385.jpg",
			"http://www.facejoking.com/pic/1021945.jpg",
			"http://www.facejoking.com/pic/1108077.jpg",
			"http://www.facejoking.com/pic/1040327.jpg",
			"http://www.facejoking.com/pic/1037441.jpg",
			"http://www.facejoking.com/pic/1111867.jpg" };

	public static String getRandomImageUrl() {
		Random r = new Random();
		int length = imageUrls.length;
		return imageUrls[r.nextInt(length)];
	}
}
